/*
 * @Author: ylq
 * @Date: 2022-09-19 15:35:08
 * @Desc: DESC
 * @Last Modified by: ylq
 * @Last Modified time: 2023-12-13 16:16:43
 */
const DEFAULT_LAYOUT = () => import('@/layout/main-layout.vue');

const SETTING = {
  path: '/setting',
  name: 'setting',
  component: DEFAULT_LAYOUT,
  redirect: { name: 'setting-index' },
  meta: {
    title: '设置',
    requiresAuth: true,
    // single: true,
    // roles: 'setting',
    // icon: 'icon-settings',
    order: 10
  },
  children: [
    {
      path: '',
      name: 'setting-index',
      component: () => import('@/views/setting/setting.vue'),
      meta: {
        hideInMenu: true,
        requiresAuth: true,
        title: '设置'
      }
    }
  ]
};

export default SETTING;
